package com.dk.api;

import com.dk.pojo.CodeRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("mes-code-rule")
public interface CodeRuleServiceAPI {
    @GetMapping("/codeRule/selectByRuleCode")
    List<CodeRule> selectByRuleCode(@RequestParam String ruleCode);
}
